<?php
$this->pageTitle=Yii::app()->name . ' - Install Modules';

$this->h1 = 'Install Modules';
?>

<h2>Overall install progress</h2>

<div id="overallProgress" class="shadowprogressbar" style="height:20px;"></div>

<br/><br/>
<div id="currentModule">
	
</div>
<br/>
<?php
$url = Yii::app()->createAbsoluteUrl('/install/default/sitesettings');
$this->widget('zii.widgets.jui.CJuiButton',
	array(
		'name'=>'finishbutton',
		'caption'=>'Continue',
		'htmlOptions'=>array(
			'style'=>'height:40px;',
			'class'=>'shadowbutton'
    	),
		'options'=>array(
			'disabled'=>true
		),
		'onclick'=>'js:function(){document.location.href="'.$url.'";}',
		)
);
?>

<?php
$cs = Yii::app()->getClientScript();
$cs->registerCoreScript('jquery.ui');
$cs->registerCssFile($cs->getCoreScriptUrl().'/jui/css/base/jquery-ui.css');
$cs->registerScript('startInstall','
		installer = new Installer({iOverallProgressStep:'.$progressStep.'});
		installer.Start();
');
?>

